<!DOCTYPE html>



  


<html class="theme-next muse use-motion" lang="zh-CN">
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="/hexo/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">







<link href="/hexo/lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="/hexo/css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="/hexo/images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="/hexo/images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="/hexo/images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="/hexo/images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="开发笔记,">










<meta name="description" content="今天分享的这个，算是个经历吧，对了，提前说一下，这个分享也是基于.net core的，以后分享的项目，只要我没转语言，基本就都是.net core了。首先，我为什么要薅人家资源？事情是这个样子的，我呢最近想看看电影，然后呢我也不知道我想看的电影叫什么名字，就大概知道想看什么样的。比如指标包括，类型，演员，导演，豆瓣评分，imdb评分等等。然后呢，我发现现在视频网站的功能支撑不了我的想法，我也深知不">
<meta name="keywords" content="开发笔记">
<meta property="og:type" content="article">
<meta property="og:title" content="我把电影天堂上的资源全给薅下来了">
<meta property="og:url" content="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/index.html">
<meta property="og:site_name" content="Tony&#39;s blog">
<meta property="og:description" content="今天分享的这个，算是个经历吧，对了，提前说一下，这个分享也是基于.net core的，以后分享的项目，只要我没转语言，基本就都是.net core了。首先，我为什么要薅人家资源？事情是这个样子的，我呢最近想看看电影，然后呢我也不知道我想看的电影叫什么名字，就大概知道想看什么样的。比如指标包括，类型，演员，导演，豆瓣评分，imdb评分等等。然后呢，我发现现在视频网站的功能支撑不了我的想法，我也深知不">
<meta property="og:locale" content="zh-CN">
<meta property="og:image" content="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/1.png">
<meta property="og:image" content="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/2.png">
<meta property="og:image" content="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/3.png">
<meta property="og:updated_time" content="2019-12-06T09:32:28.970Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="我把电影天堂上的资源全给薅下来了">
<meta name="twitter:description" content="今天分享的这个，算是个经历吧，对了，提前说一下，这个分享也是基于.net core的，以后分享的项目，只要我没转语言，基本就都是.net core了。首先，我为什么要薅人家资源？事情是这个样子的，我呢最近想看看电影，然后呢我也不知道我想看的电影叫什么名字，就大概知道想看什么样的。比如指标包括，类型，演员，导演，豆瓣评分，imdb评分等等。然后呢，我发现现在视频网站的功能支撑不了我的想法，我也深知不">
<meta name="twitter:image" content="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/1.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/hexo/',
    scheme: 'Muse',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: 'Tony'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="https://tony_df.coding.net/2019/12/06/我把电影天堂上的资源全给薅下来了/">





  <title>我把电影天堂上的资源全给薅下来了 | Tony's blog</title>
  








</head>

<body itemscope itemtype="http://schema.org/WebPage" lang="zh-CN">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/hexo/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">Tony's blog</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">学着码代码,学着码人生;</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/hexo/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/hexo/tags/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            Tags
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/hexo/archives/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-question-circle"></i> <br>
            
            Archives
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="https://tony_df.coding.net/hexo/2019/12/06/我把电影天堂上的资源全给薅下来了/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="name" content="Tony">
      <meta itemprop="description" content>
      <meta itemprop="image" content="/hexo/images/avatar.gif">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Tony's blog">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">我把电影天堂上的资源全给薅下来了</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">Posted on</span>
              
              <time title="Post created" itemprop="dateCreated datePublished" datetime="2019-12-06T09:57:19+08:00">
                2019-12-06
              </time>
            

            

            
          </span>

          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>今天分享的这个，算是个经历吧，对了，提前说一下，这个分享也是基于.net core的，以后分享的项目，只要我没转语言，基本就都是.net core了。<br>首先，我为什么要薅人家资源？事情是这个样子的，我呢最近想看看电影，然后呢我也不知道我想看的电影叫什么名字，就大概知道想看什么样的。比如指标包括，类型，演员，导演，豆瓣评分，imdb评分等等。<br>然后呢，我发现现在视频网站的功能支撑不了我的想法，我也深知不是这些大厂做不了，而是因为有一些版权啊，收费啊等等原因，他们不能做这个东西。而有一些处在灰色产业带的网站，可能没有这些问题，但是呢，他们又不做这些丰富的功能。<br>所以就想着自己搞一个出来。<br>然后这个想法就在我的脑子里开花结果，慢慢的，我的需求从简单的只想随心所欲的看看电影，变成了，我想做一个类似小爱同学的那种智能助手，通过语音或者文字，来说出我想看什么电影，然后自动下载，自动播放，我甚至连这个小助手的名字都想好了，傻强！<br>再然后，就开始实施了<br>首先，我得有电影资源吧，电影天堂这只肥羊最合适了，资源更新快，可以说是大而全了。<br>所以，<br>第一步很简单，就是爬数据，做个爬虫，把电影天堂上的资源全给薅下来，同时完成简单的数据清洗工作；<br>第二步就是数据整理分类，利用ElasticSearch构建数据搜索引擎，并接入百度语音API实现语音和文字之间转换，搭建检索平台；<br>第三步就是利用t-get或者aira2等工具，实现磁力链接或者ftp资源的自动下载。<br>好了，大概的思路就是这样，目前进行到了第一步，<br>爬虫其实大家都很熟悉了，需要说明的是，很多网站都有反扒的机制，需要具体问题具体分析，同时需要根据需要，利用代理ip来防止爬虫被封。这些我就不多说了。<br>我这里主要用到的技术还是正则表达式，此外用Nlog做的日志输出，Polly做的降级处理，AngleSharp做的dom分析，redis做的缓存，数据库用的是sqlite（第一次用sqlite，感觉很棒！）<br>另外，在下载的部分，本来是想做成多线程的，但现阶段并发控制没有做好，设计上还有欠缺，考虑到第一步只是一次性操作，后续增量更新，所以暂时没有完成这一部分，但好的设计，是要有这部分的。<br>我先把灌一下代码吧，很简单。</p>
<figure class="highlight c#"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;summary&gt;</span></span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> 首先找到首页上的所有分类的入口，然后分别获取其地址</span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;/summary&gt;</span></span></span><br><span class="line"><span class="function"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> <span class="title">LetsStart</span>(<span class="params"></span>)</span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line">    <span class="keyword">try</span></span><br><span class="line">    &#123;</span><br><span class="line">        NLogHelper.Info(<span class="string">"寻找网站入口..."</span>);</span><br><span class="line">        <span class="keyword">var</span> htmlSourceCode = GetHtmlByUrl(baseurl);</span><br><span class="line">        <span class="keyword">var</span> parser = <span class="keyword">new</span> HtmlParser();</span><br><span class="line">        <span class="keyword">var</span> document = parser.ParseDocument(htmlSourceCode);</span><br><span class="line">        <span class="keyword">var</span> MoreList = document.QuerySelectorAll(<span class="string">"em &gt; a"</span>);</span><br><span class="line">        List&lt;<span class="keyword">string</span>&gt; list = GetItemsHref(MoreList);</span><br><span class="line">        list.RemoveAt(<span class="number">2</span>);<span class="comment">//这个页面暂不解析</span></span><br><span class="line">        GetPageInfo(list, parser);</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">catch</span> (Exception ex)</span><br><span class="line">    &#123;</span><br><span class="line">        NLogHelper.Error(<span class="string">"寻找入口出错:"</span> + ex.Message);</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;summary&gt;</span></span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> 分别进入基础入口，并取得其所对应类别的电影数量，页数，每页的条数，并将这些信息，存入redis，避免每次都执行该步浪费时间</span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;/summary&gt;</span></span></span><br><span class="line"><span class="function"><span class="keyword">static</span> <span class="keyword">void</span> <span class="title">GetPageInfo</span>(<span class="params">List&lt;<span class="keyword">string</span>&gt; urls, HtmlParser parser</span>)</span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line">    ISyncPolicy policy2 = Policy.Handle&lt;Exception&gt;()</span><br><span class="line">        .Retry(<span class="number">3</span>);<span class="comment">//重试3次</span></span><br><span class="line">    policy2.Execute(() =&gt;</span><br><span class="line">    &#123;</span><br><span class="line">        <span class="keyword">foreach</span> (<span class="keyword">string</span> url <span class="keyword">in</span> urls)</span><br><span class="line">        &#123;</span><br><span class="line">            <span class="meta">#<span class="meta-keyword">region</span></span></span><br><span class="line">            <span class="keyword">if</span> (<span class="keyword">string</span>.IsNullOrEmpty(redis.HashGet(<span class="string">"pageinfo"</span>, url)))</span><br><span class="line">            &#123;</span><br><span class="line">                <span class="keyword">var</span> htmlSourceCode = GetHtmlByUrl(url);</span><br><span class="line">                <span class="keyword">var</span> document = parser.ParseDocument(htmlSourceCode);</span><br><span class="line">                <span class="keyword">var</span> pageInfo = document.QuerySelector(<span class="string">".co_content8 &gt; .x"</span>);</span><br><span class="line">                <span class="keyword">string</span> pattern_pagetotal = <span class="string">"(?&lt;=页次：\\d\\/)\\d+"</span>;</span><br><span class="line">                <span class="keyword">string</span> pattern_pageevery = <span class="string">"(?&lt;=每页)\\d+"</span>;</span><br><span class="line">                <span class="keyword">string</span> pattern_total = <span class="string">"(?&lt;=总数)\\d+"</span>;</span><br><span class="line">                <span class="keyword">int</span> page_total = Convert.ToInt32(Regex.Match(pageInfo.OuterHtml, pattern_pagetotal).Value);</span><br><span class="line">                <span class="keyword">int</span> page_every = Convert.ToInt32(Regex.Match(pageInfo.OuterHtml, pattern_pageevery).Value);</span><br><span class="line">                <span class="keyword">int</span> total = Convert.ToInt32(Regex.Match(pageInfo.OuterHtml, pattern_total).Value);</span><br><span class="line">                redis.HashSet(<span class="string">"pageinfo"</span>, url, page_total + <span class="string">"|"</span> + page_every + <span class="string">"|"</span> + total);</span><br><span class="line">            &#125;</span><br><span class="line">            <span class="meta">#<span class="meta-keyword">endregion</span></span></span><br><span class="line">        &#125;</span><br><span class="line">        GetPageList(parser);</span><br><span class="line">    &#125;);</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;summary&gt;</span></span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> 逐页获取电影资源详情的链接</span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;/summary&gt;</span></span></span><br><span class="line"><span class="function"><span class="keyword">static</span> <span class="keyword">void</span> <span class="title">GetPageList</span>(<span class="params">HtmlParser parser</span>)</span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line">    <span class="keyword">var</span> keys = redis.HashKeys(<span class="string">"pageinfo"</span>);</span><br><span class="line">    <span class="keyword">try</span></span><br><span class="line">    &#123;</span><br><span class="line">        <span class="keyword">foreach</span> (<span class="keyword">var</span> key <span class="keyword">in</span> keys)</span><br><span class="line">        &#123;</span><br><span class="line">            <span class="keyword">string</span> url = key.ToString();</span><br><span class="line">            <span class="keyword">if</span> (url.EndsWith(<span class="string">"index.html"</span>))</span><br><span class="line">                url = url.Replace(<span class="string">"index.html"</span>, <span class="string">""</span>);<span class="comment">//去掉index.html</span></span><br><span class="line">            <span class="keyword">string</span> pageinfo = redis.HashGet(<span class="string">"pageinfo"</span>, key);</span><br><span class="line">            <span class="keyword">string</span>[] parts = pageinfo.Split(<span class="string">'|'</span>);</span><br><span class="line">            <span class="keyword">int</span> pagetotal = Convert.ToInt32(parts[<span class="number">0</span>]);</span><br><span class="line">            NLogHelper.Info(<span class="string">"当前抓取地址:"</span> + url + <span class="string">",总页数:"</span> + pagetotal + <span class="string">",总条数"</span> + Convert.ToInt32(parts[<span class="number">2</span>]));</span><br><span class="line">            DoTask(parser, <span class="number">0</span>, Convert.ToInt32(parts[<span class="number">1</span>]), pagetotal, url, Convert.ToInt32(parts[<span class="number">2</span>]));</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    <span class="keyword">catch</span> (Exception ex)</span><br><span class="line">    &#123;</span><br><span class="line">        NLogHelper.Error(<span class="string">"链接出错，error"</span> + ex.Message);</span><br><span class="line">    &#125;</span><br><span class="line">&#125;</span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;summary&gt;</span></span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> 获取电影详情及资源链接，存入数据库</span></span><br><span class="line"><span class="comment"><span class="doctag">///</span> <span class="doctag">&lt;/summary&gt;</span></span></span><br><span class="line"><span class="function"><span class="keyword">static</span> <span class="keyword">async</span> Task <span class="title">GetPageInfo</span>(<span class="params">DownloadParam param</span>)</span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line">    <span class="comment">//这一段有点长，用了很多正则去匹配数据，就不分享了，后续这个小助手完成后，会把gitee地址分享出来</span></span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>

<p>咳咳，首先呢，这几段代码都是初始的，基本上写完了没有做整理，大家也看到了，上边的代码，对异常的处理有的是做的降级，有的还是try catch，然后最后一段没有分享，主要是没有找到合适的优化方法，有大量的正则匹配在里面，就没分享。<br>其实主要是这个经历很令我兴奋，所以就没忍住写个博客分享一下，此次分享代码相对粗鄙，各位见笑了，待后续功能全部完成后，会将全部工程文件分享出来，这次这个也分享一下吧，虽然还只是个一阶段的半成品<a href="https://gitee.com/Tony_df/shaqiang.git" target="_blank" rel="noopener">https://gitee.com/Tony_df/shaqiang.git</a>。欢迎交流。<br>在贴几张效果图。<br><img src="1.png" alt="1"><br><img src="2.png" alt="2"><br><img src="3.png" alt="3"></p>

      
    </div>
    
    
    

    

    

    

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/hexo/tags/开发笔记/" rel="tag"># 开发笔记</a>
          
        </div>
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/hexo/2019/11/27/初探-net-core微服务/" rel="next" title="初探.net core微服务">
                <i class="fa fa-chevron-left"></i> 初探.net core微服务
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/hexo/2019/12/30/2019就要过去了，简单总结下吧/" rel="prev" title="2019就要过去了，简单总结下吧">
                2019就要过去了，简单总结下吧 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
        <!-- Go to www.addthis.com/dashboard to customize your tools -->
<div class="addthis_inline_share_toolbox">
  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5bbb2338b87602f0" async="async"></script>
</div>

      
    </div>
  </div>


          </div>
          


          

  
    <div class="comments" id="comments">
      <div id="lv-container" data-id="city" data-uid="MTAyMC8zOTA1My8xNTU4MA"></div>
    </div>

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      

      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
            
              <p class="site-author-name" itemprop="name">Tony</p>
              <p class="site-description motion-element" itemprop="description">学习总结</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="/hexo/archives/">
              
                  <span class="site-state-item-count">58</span>
                  <span class="site-state-item-name">posts</span>
                </a>
              </div>
            

            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="/hexo/tags/index.html">
                  <span class="site-state-item-count">7</span>
                  <span class="site-state-item-name">tags</span>
                </a>
              </div>
            

          </nav>

          

          

          
          

          
          

          

        </div>
      </section>

      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Tony</span>

  
</div>


  <div class="powered-by">Powered by <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a></div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">Theme &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Muse</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  












  
  
    <script type="text/javascript" src="/hexo/lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="/hexo/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="/hexo/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="/hexo/lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/hexo/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="/hexo/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  


  


  <script type="text/javascript" src="/hexo/js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="/hexo/js/src/motion.js?v=5.1.4"></script>



  
  

  
  <script type="text/javascript" src="/hexo/js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="/hexo/js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="/hexo/js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  
    <script type="text/javascript">
      (function(d, s) {
        var j, e = d.getElementsByTagName(s)[0];
        if (typeof LivereTower === 'function') { return; }
        j = d.createElement(s);
        j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
        j.async = true;
        e.parentNode.insertBefore(j, e);
      })(document, 'script');
    </script>
  












  





  

  

  

  
  

  

  

  

</body>
</html>
